<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript">
	function go_login() {
		if (document.login.userid.value.length <= 0) {
			alert("이메일을 입력하세요");
			document.login.userid.focus();
			return false;
		}
		if (document.login.userpw.value.length <= 0) {
			alert("비밀번호를 입력하세요");
			document.login.userpw.focus();
			return false;
		}
		document.login.submit();
	}

	function move_focus() {
		document.login.userid.focus();
		return;
	}
</script>
<title>로그인 페이지</title>
</head>
<body onload="move_focus();">
	<form name="login" method="post" action="login_ok.jsp">
		<table cellpadding=0 cellspacing=0 border=0 align="center">
			<tr>
				<td><strong>이메일:</strong>
				</td>
				<td><input type="text" name="userid" size=8 maxlength=12>
				</td>
			</tr>
			<tr>
				<td><strong>비밀번호:</strong>
				</td>
				<td><input type="password" name="userwd" size=8 maxlength=12>
				</td>
			</tr>
			<tr>
				<td colspan=2 align="right"><input type="button" value="로그인"
					onclick="go_logion()">
			</tr>
		</table>
	</form>
</body>
</html>